$primary-color:#43200c;

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: $primary-color;
    background-color: rgba(247, 244, 244, 0.842);
}

body,
p,
ul,
h3,
h2 {
    padding: 0;
    margin: 0;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
}

// 头部
.header {
    background-color: #fff;
    padding: 40px 0;
}

.header>.wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;

    .log a {
        display: flex;
        align-items: center;

        .log-pic {
            width: 75px;
            height: 75px;
        }
    }

    .log_desc {
        flex-shrink: 0;
        margin-left: 20px;
        text-align: center;
        color: #43200c;
    }

    .log-title {
        font-size: 28px;
        font-weight: 600;
        line-height: 40px
    }

    .log-info {
        font-size: 12px;
        transform: scale(.8);
    }

    .search {
        box-sizing: border-box;
        min-width: 500px;
        display: flex;
        height: 48px;
        width: 500px;
        border-radius: 48px;
        border: 1px $primary-color solid;
        background: url(../images/search.png)no-repeat;
        background-size: 20px;
        background-position: 12px center;

        .search_input {
            margin: 0 40px;
            flex-grow: 1;
            border: none;
            outline: none;
            font-size: 16px;
        }

        .btn-search {
            flex-shrink: 0;
            padding: 0 40px;
            line-height: 40px;
            font-size: 14px;
            margin: 4px;
            color: $primary-color;
            background-color: #fee44e;
            border-radius: 48px;
            cursor: pointer;
        }
    }

    .advantage {
        flex-shrink: 0;

        .advantage-list {
            display: flex;
        }
    }

    .advantage-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 20px;
        color: #877a73;
        font-size: 12px;
    }

    .advantage-item img {
        width: 40px;
        height: 40px;
    }
}



// 分类导航条
.nav {
    background-color: #43240c;
    line-height: 46px;
    height: 46px;

    .nav-list {
        font-size: 0;

        .list-item {
            position: relative;
            display: inline-block;
            width: 220px;
            text-align: center;
            color: #fff;
            font-size: 16px;

            &:hover {
                background-color: #fee44e;
                color: $primary-color;
            }
        }

        .list-item.active {
            background-color: #fee44e;
            color: $primary-color;
        }
    }
}

// banner区域
.indexBanner {
    display: flex;
    overflow: hidden;

    .sidebar {
        position: relative;
        flex-basis: 220px;
        flex-shrink: 0;
        background-color: #fcf9e3;

        .sidebar-item {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 41px;
            cursor: pointer;
            line-height: 41px;
            text-align: center;
            transition: all .3s;

            &:hover {
                background-color: #fff;
            }

            .icon {
                height: 20px;
                // width: 23px;
                text-align: center;
                margin-right: 10px;
            }

            .sidebar-info {
                &:hover {
                    color: #ff5656;
                    text-decoration: underline;
                }

                &:last-child {
                    margin-right: 20px;
                }
            }
        }
    }

    .banner-container {
        padding: 0 10px;

        .swiper-container {
            width: 660px;
            height: 234px;
        }

        .banner-container-bottom {
            display: flex;


            .banner-container-bottom-special {
                position: relative;
                cursor: pointer;
                box-sizing: border-box;
                padding: 20px 20px;
                width: 50%;
                color: #fff;
                border-radius: 10px;
                margin-top: 10px;

                .special-title {
                    font-size: 22px;
                    font-weight: 600;
                }

                .special-desc {
                    font-size: 18px;
                }

                .special-go {
                    font-size: 14px;
                    display: inline-block;
                    margin-top: 10px;
                    text-align: center;
                    width: 50px;
                    height: 20px;
                    line-height: 20px;
                    background-color: #fff;
                    color: #fca6c0;
                    border-radius: 30px;
                }

                .zt {
                    position: absolute;
                    right: 0;
                    bottom: 0;
                    width: 130px;
                }
            }

            .banner-container-bottom-special:nth-child(1) {
                background: linear-gradient(270deg, #ffd1dd, #fca6c0);
                margin-right: 5px;
            }

            .banner-container-bottom-special:nth-child(2) {
                background: linear-gradient(270deg, #fffffe, #fec07e);
                margin-left: 5px;
            }
        }

    }

    .extend {

        flex-basis: 300px;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;


        .extend-Pinkage {
            position: relative;
            height: 234px;
            padding-left: 20px;
            background-color: #fff4e4;
            color: #ff5817;
            cursor: pointer;

            .extend-title {
                font-size: 24px;
                margin-top: 30px;
            }

            .prompt {
                background: url(../images/bg_arrows.png)no-repeat center left;
                color: #fff;
                line-height: 36px;
                text-indent: 10px;
                font-size: 18px;
                margin-top: 10px;
            }

            .gif {
                position: absolute;
                right: 20px;
                bottom: 20px;
                width: 120px;
                height: 120px;
            }
        }

        .extend-QR {
            position: relative;
            background: linear-gradient(270deg, #e7f5ff, #afdcff);
            border-radius: 8px;
            margin-top: 10px;
            flex-grow: 1;
            color: #fff;
            font-size: 18px;
            padding: 30px 20px;

            .QR {
                position: absolute;
                right: 42px;
                bottom: 26px;
                width: 80px;
            }
        }
    }
}

.box-shadow:hover {
    transition: all .3s linear;

    &:hover {
        box-shadow: 0 2px 10px rgba(207, 207, 207, 0.692);
    }
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 22px;
}

.title-bar {
    background-color: #fff;
    line-height: 60px;
    margin: 10px 0 30px;

    .tiele-bar-title {
        display: inline-block;
        font-weight: 400;
        text-indent: 55px;
        margin-right: 30px;
        font-style: 18px;
    }

    .title-bar-sort {
        color: rgb(126, 126, 126);
        font-size: 14px;
    }
}

.choice {
    padding: 0 16px;
    overflow: hidden;
}

.choice-list {
    margin: 0 auto;
    width: 1168px;
    overflow: hidden;
}

.choice-item {
    cursor: pointer;
    display: block;
    float: left;
    margin-right: 21px;
    width: 276px;
    height: 389px;
    overflow: hidden;
    margin-bottom: 22px;
    position: relative;
    box-sizing: border-box;
    transition: all .3s linear;

    &:hover {
        box-shadow: 0 0 15px rgb(182, 182, 182);
    }

    .choice-item-img {
        width: 276px;
        height: 276px;
        text-align: center;
        background-color: #fff;

        img {
            max-width: 100%;
            max-height: 100%;
        }
    }

    .choice-item-info {
        padding: 10px 17px 17px;
        background-color: rgb(255, 255, 255);

        .choice-item-desc {
            overflow: hidden;
            font-size: 14px;
            line-height: 18px;
            text-overflow: ellipsis;
            color: #877a73;
            white-space: nowrap;
        }

        .choice-item-keys {
            margin: 10px 0px;
            display: flex;
            justify-content: space-between;
            color: #fff;

            .tmall {
                background-color: #df2b2f;
                padding: 2px 4px;
            }

            .Taobao {
                background-color: #ff9000;
                padding: 2px 4px;
            }

            .free-postage {
                color: #999;
            }
        }

        .choice-item-foot {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            color: #fa585a;

            .price {
                font-size: 12px;
                font-style: normal;
                font-weight: 400;
                line-height: 12px;
            }

            .price-strong {
                font-size: 28px;
                line-height: 28px;
            }

            .price-digit {
                font-size: 18px;
                line-height: 20px;
                margin-right: 5px;
            }

            .sale-num {
                font-size: 14px;
                color: #877a73;
                letter-spacing: 0;
            }

            .coupon-value {
                font-size: 12px;
                border: 1px solid #fa585a;
                padding: 4px 8px;
            }
        }
    }
}

.choice-item:nth-of-type(4n) {
    margin-right: 0;
}

.sidebar-item:hover .sidebar-panel {
    display: block;
}

.sidebar-panel {
    display: none;
    position: absolute;
    padding: 0 20px;
    width: 230px;
    left: 100%;
    top: 0;
    height: 100%;
    background-color: #fff;
    z-index: 9;

    .sidebar-panel-item {
        margin-bottom: 20px;
    }

    .panel-item-title {
        line-height: 41px;
        border-bottom: 1px solid #e7e7ee;
        font-size: 14px;
        text-align: left;
        color: #a79c95;
    }
}

.sidebar-panel-list {
    display: flex;
    flex-wrap: wrap;

    .panel-list-item {
        font-size: 12px;
        margin-right: 10px;
        color: #a79c95;

        &:hover {
            color: #ff5656;
        }
    }
}

.lookmove {
    text-align: center;
    margin: 50px 0 100px;

    .btn-more {
        border: none;
        outline: none;
        padding: 20px 60px;
        border-radius: 60px;
        background-color: #fee44e;
        color: $primary-color;
        font-size: 22px;
        font-weight: 500;
        cursor: pointer;
    }
}

// foot
footer {
    background-color: #333;
    color: #fff;
}

.foot-container {
    display: flex;
    align-items: center;
    padding: 50px 0;

    img {
        width: 112px;
        height: 112px;
        margin-right: 20px;
    }

    .foot_log {
        display: flex;
        align-items: center;
    }

    .foot_log_title {
        font-size: 36px;
        font-family: PingFangSC-Semibold;
        font-weight: 600;
    }

    .foot_log_text {
        font-size: 18px;
        font-weight: 500;
        line-height: 25px;
    }

    .app {
        margin-left: 250px;
        font-size: 20px;
        padding-left: 20px;
        border-left: 2px solid #fff;
        cursor: pointer;

        &:hover {
            color: #ff5556;
        }
    }
}

.foot-info {
    text-align: center;
    font-size: 18px;
    padding-bottom: 20px;

    img {
        width: 22px;
        height: 22px;
        vertical-align: bottom;
    }

    .foot-desc {
        display: inline-block;
    }
}

.pagefoot {
    background-color: #fff;
    text-align: center;
    padding: 5px 0 50px;
}

.back-top {
    position: fixed;
    right: 5%;
    bottom: 50%;
    z-index: 9;

    img {
        width: 70px;
        height: 70px;
        cursor: pointer;
    }
}

#load {
    text-align: center;
    padding: 50px 0;
    display: none;

    .icon-load {
        display: inline-block;
        width: 40px;
        height: 40px;
        background: url(../images/009.gif) no-repeat center/cover;
    }

    .icon-load-info {
        display: block;
    }
}

#tab-nav {
    width: 1200px;
    margin: 20px auto;
    color: $primary-color;

    .banner-title {
        background-color: rgb(245, 206, 206);
        font-size: 24px;
        font-weight: 500;
        text-indent: 20px;
        line-height: 60px;
    }

    .tab {
        background-color: #fff;
        line-height: 60px;
        font-size: 18px;
        margin-top: 10px;
        box-sizing: border-box;

        .tab-item {
            display: inline-block;
            padding: 0 20px;

            &:hover {
                border-bottom: 2px solid $primary-color;
            }
        }

        .tab-item.active {
            border-bottom: 2px solid $primary-color;
        }
    }
}

#back_top {
    display: none;
}

.loading {
    display: block !important;
}